package service;


import Message.DTO.ShoppingCartDTO;
import Message.entity.ShoppingCart;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ShoppingCartService {
    List<ShoppingCart> list();

    void addCart(ShoppingCartDTO shoppingCartDTO);

    void sub(ShoppingCartDTO shoppingCartDTO);

    void clean();
}
